package com.example.mapper;

import com.example.entity.StudyAreaTime;

import java.util.List;

public interface StudyAreaTimeMapper {

    /*
     * 新增
     * */
    int insert(StudyAreaTime studyAreaTime);

    /*
     * 删除
     * */
    void deleteById(Integer id);

    /*
     * 修改
     * */
    int updateById(StudyAreaTime studyAreaTime);
    int updateByCondition(StudyAreaTime studyAreaTime);
    /*
     * 根据ID查询
     * */
    StudyAreaTime selectById(Integer id);

    /*
     * 查询所有
     * */
    List<StudyAreaTime> selectAll(StudyAreaTime studyAreaTime);
    List<StudyAreaTime> selectAllByCondition(StudyAreaTime studyAreaTime);

    List<StudyAreaTime> selectAllByUidOrCreateTime(StudyAreaTime studyAreaTime);
}
